@import url(./reset.less);
@import url(../font_nebgsogwapf/iconfont.css);
.iconfont {
  width: 20px;
  height: 20px;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
body {
  h1{width: 100%;
  text-align: center;}
  background-color: pink;
  .screen {
    width: 600px;
    height: 400px;
    margin: 50px auto;
    border: 1px solid black;
    background-color: rgb(0, 0, 0);
    position: relative;
    //糖果
    svg {
      position: absolute;
      // left: 200px;
      // top: 100px;
    }
    div {
      position: absolute;
       
      width: 20px;
      height: 20px;
      left: -9295px;
      top: -9195px;
    }
  
    #snake{
      position: absolute;
       
      width: 20px;
      height: 20px;
      left: 295px;
      top: 195px;
      background-color: rgb(248, 248, 248);
      // border-radius: 50%;
    }
  }
  .btns {
    margin: 0 auto;
    // border: 1px solid black;
    width: 100px;
    height: 100px;
    position: relative;
    div[id^="btn"] {
      line-height: 20px;
      text-align: center;
      position: absolute;
      width: 40px;
      height: 20px;
      border: solid 1px black;
      cursor: pointer;
      /* 禁止复制代码 */
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }
    #btnL {
      left: -10px;
      top: 35px;
    }
    #btnR {
      right: -10px;
      top: 35px;
    }
    #btnU {
      left: 30px;
      top: 0px;
    }
    #btnD {
      left: 30px;
      bottom: 0px;
    }
    #btnStop {
      left: -50px;
    }
  }
}
